<!-- toaster directive -->
<toaster-container
        toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>

<!-- 导航条 -->
<div class="bg-white bread-crumb">
    <ul class="breadcrumb b-a m-b-n-xs lter b-b wrapper-md">
        <li><a ui-sref="main"><i class="glyphicon glyphicon-cog"></i> 系统管理</a></li>
        <li><a ui-sref="main.sys.clientm.list" class="active">应用管理</a></li>
        <li class="active" ng-bind="title"></li>
    </ul>
</div>
<!-- 加载提醒 -->
<div ng-show="loading" class="text-center m-t-md text-lg dataWarn"><i class="fa fa-spin fa-spinner"></i> 数据加载中...</div>
<!-- 内容区域 -->
<div class="wrapper-md content">
    <div class="panel panel-default">
        <!-- 头部 -->
        <div class="panel-heading font-bold">
            <a class="btn btn-sm btn-icon btn-rounded btn-default pull-right m-t-n-xs"
               ui-sref="main.sys.clientm.list"><i
                    class="text-md glyphicon glyphicon-chevron-up text-muted"></i>
            </a>
        </div>
        <!--表单-->
        <div class="panel-body">
            <form class="form-horizontal" name="house_form" enctype="multipart/form-data">
                <h6 style="margin-top:0px;">基本信息</h6>
                <div class="form-group">
                    <label for="app_code" class="col-lg-1 control-label text-right"><span class="text-danger wrapper-sm">*</span>应用编码：</label>
                    <div class="col-lg-4">
                        <input type="text" class="form-control" ng-model="record.app_code" name="app_code" id="app_code">
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-lg-1 control-label text-right"><span class="text-danger wrapper-sm">*</span>应用系统类型：</label>
                    <div class="col-lg-4">
                        <select class="form-control" ng-model="record.mac_type" name="mac_type"
                                style="border-radius: 4px;">
                            <option value="" ng-selected="andriod"></option>
                            <option value="andriod">andriod</option>
                            <option value="ios">ios</option>
                        </select>
                    </div>
                </div>

                <div class="line line-dashed b-b line-lg pull-in"></div>

                <div class="form-group">
                    <label for="app_name" class="col-lg-1 control-label text-right"><span
                            class="text-danger wrapper-sm">*</span>应用名称：</label>
                    <div class="col-lg-4">
                        <input type="text" class="form-control" ng-model="record.app_name" name="app_name"id="app_name">
                    </div>
                </div>

                <div class="form-group">
                    <label for="app_en_name" class="col-lg-1 control-label text-right"><span
                            class="text-danger wrapper-sm">*</span>应用英文名称：</label>
                    <div class="col-lg-4">
                        <input type="text" class="form-control" ng-model="record.app_en_name" name="app_en_name" id="app_en_name">
                    </div>
                </div>

                <div class="line line-dashed b-b line-lg pull-in"></div>

                <div class="form-group">
                    <label for="app_desc" class="col-lg-1 control-label text-right">应用描述：</label>
                    <div class="col-lg-4">
                        <input type="text" class="form-control" ng-model="record.app_desc" name="app_desc"id="app_desc">
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>

                <h6>应用包信息</h6>

                <div class="form-group">
                    <label for="app_version_seq" class="col-lg-1 control-label text-right"><span
                            class="text-danger wrapper-sm">*</span>应用版本号：</label>
                    <div class="col-lg-4">
                        <input type="text" class="form-control" ng-model="record.app_version_seq"id="app_version_seq" name="app_version_seq">
                    </div>
                </div>

                <div class="form-group">
                    <label for="app_version" class="col-lg-1 control-label text-right"><span
                            class="text-danger wrapper-sm">*</span>应用版本：</label>
                    <div class="col-lg-4">
                        <input type="text" class="form-control" ng-model="record.app_version" name="app_version" id="app_version">
                    </div>
                </div>

                <div class="line line-dashed b-b line-lg pull-in"></div>

                <div class="form-group">
                    <label for="visonBox" class="col-lg-1 control-label text-right">应用升级包：</label>
                    <div class="col-lg-4">
                        <input type="file" class="form-control" ng-model="file" name="file" id="visonBox"  ngf-select>

                    </div>
                </div>

                <div class="form-group">
                    <label class="col-lg-1 control-label text-right"><span class="text-danger wrapper-sm">*</span>是否强制升级：</label>
                    <div class="col-lg-4">
                        <select class="form-control" ng-model="record.is_force_upgrade" name="is_force_upgrade"
                                style="border-radius: 4px;">
                            <option value="" ng-selected="1"></option>
                            <option value="1">是</option>
                            <option value="0">否</option>
                        </select>
                    </div>
                </div>

                <div class="line line-dashed b-b line-lg pull-in"></div>

                <div class="form-group">
                    <label for="app_version_desc" class="col-lg-1 control-label text-right"><span class="text-danger wrapper-sm">*</span>升级包描述：</label>
                    <div class="col-lg-4">
                        <!--<input type="text" class="form-control" ng-model="record.app_version_desc"name="app_version_desc">-->
                        <textarea rows="5"style="border:1px solid #bdc3c7; width:100%;font-size: 10px;border-radius: 4px;resize:none"
                                  ng-model="record.app_version_desc" name="app_version_desc"id="app_version_desc">

                        </textarea>
                    </div>
                </div>

                <div class="line line-dashed b-b line-lg pull-in"></div>

                <div class="form-group" style="width: 100%;margin-top: 20px">
                    <div class="col-sm-6 col-sm-offset-2 text-center"
                         style="width: 100%;margin: 0;padding: 0;text-align: center">
                        <button type="button" class="btn  w-xs addNew" ng-show="reset" ng-click="resetFrom()">重置</button>
                        <button type="submit" class="btn btn-info w-xs m-l-xl addNew"
                                ng-disabled="isDisabled">保存
                        </button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

<style scoped>
    .col-lg-1 {
        min-width: 170px;
    }

    .form-group {
        width: 50%;
        float: left;
    }

    .form-group .col-lg-2 {
        width: 25%;
    }

    .form-group .col-lg-4 {
        width: 65%;
    }

    .app-content-body .content {
        margin-top: 44px;
    }
</style>

